package com.springtrans.service;

import com.springtrans.mapper.LogInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogService {
    @Autowired
    private LogInfoMapper logInfoMapper;
    public void insertLog(String name,String op) {
//记录⽤⼾操作
        logInfoMapper.insertLog(name, "⽤⼾注册");
    }
    }
